{include file="header.html"}
<script type="text/javascript">
    function add_category() {
        var category = $('.category').eq(0);
        $(".category:last").after(category.clone());
    }
</script>
<div id="rightTop">
    <p>商品</p>
    <ul class="subnav">
        <li><a class="btn1" href="index.php?app=goods">所有商品</a></li>
        <li><span>推向场景分类</span></li>
    </ul>
</div>

<div class="info">
    <form method="post" enctype="multipart/form-data" id="placegoods_form">
        <table class="infoTable">
            <tr>
                <th class="paddingT15">
                    场景分类:</th>
                <td class="paddingT15 wordSpacing5">
                    <p class="select">
                        <!--{if $selects}-->
                            <!--{foreach from=$selects item=cate}-->
                                <select name="cate_id[]" class="category">
                                    <option value="0">{$lang.select_pls}</option>
                                    {html_options options=$categories selected=$cate.cate_id}
                                </select>
                            <!-- {/foreach} -->
                        <!--{else}-->
                        <select name="cate_id[]" class="category">
                            <option value="0">请选择--</option>
                            {html_options options=$categories}
                        </select>
                        <!--{/if}-->
                        <span style="color: #999;">
                            <a href="javascript:add_category();" id="add_category" style="color:#00A0E9">新增分类</a>
                            可以选择多个分类
                        </span>
                    </p>
                </td>
            </tr>
            <tr>
                <th></th>
                <td class="ptb20">
                    <input class="formbtn" type="submit" name="Submit" value="{$lang.submit}" />
                    <input class="formbtn" type="reset" name="Submit2" value="{$lang.reset}" />
                </td>
            </tr>
        </table>
    </form>
</div>
{include file="footer.html"}
